Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODMenuBar


GetItemString

Mac OS

The GetItemString method gets the text string of the specified menu item.

void GetItemString (in ODCommandID cmdNumber, 
                    out ODIText itemString);
cmdNumber
The command ID of the menu item whose text you wish to obtain. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
itemString
The text string of the specified menu item.
EXCEPTIONS
kODErrInvalidCommandID
The specified menu item does not exist.
SEE ALSO
The ODCommandID type (page 895).
The ODIText type (page 875).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help